Learn R Programming

pbdZMQ (version 0.3-13)

Initial Control Functions: Initial controls in pbdZMQ

Description

Initial control functions

Usage

.zmqopt_get(main, sub = NULL, envir = .GlobalEnv)

.zmqopt_set(val, main, sub = NULL, envir = .GlobalEnv)

.zmqopt_init(envir = .GlobalEnv)

Value

.zmqopt_init() initial the ZMQ control at envir.

Arguments

main

a variable to be get from or set to

sub

a subvariable to be get from or set to

envir

an environment where ZMQ controls locate

val

a value to be set

Author

Wei-Chen Chen wccsnow@gmail.com.

Details

.zmqopt_init() initials default ZMQ controls. .zmqopt_get() gets a ZMQ control. .zmqopt_set() sets a ZMQ control.

References

ZeroMQ/4.1.0 API Reference: https://libzmq.readthedocs.io/en/zeromq4-1/

Programming with Big Data in R Website: https://pbdr.org/

See Also

.pbd_env.

Examples

Run this code
if (FALSE) {
library(pbdZMQ, quietly = TRUE)

ls(.pbd_env)
rm(.pbd_env)
.zmqopt_init()
ls(.pbd_env)

.pbd_env$ZMQ.SR$BLOCK
pbd_opt(bytext = "ZMQ.SR$BLOCK = 0L")
}

Run the code above in your browser using DataLab